import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import './assets/css/reset.css'; // 重置样式表
import './assets/css/common.scss'; // 公共的样式表
import 'vant/lib/index.css';
import 'amfe-flexible'; // 计算根节点大小
let app = createApp(App);
app.directive('focus', {
  mounted(el, binding) {
      el.children[0].focus();
  },
});
app.use(Vant).use(store).use(router).mount('#app')

// 链式引用